import { LiteFlowScript } from "@/model/LiteFlow";
import http, { resolve } from "./http";

class ScriptService {
    update(script: LiteFlowScript): Promise<string> {
        return resolve(http.post("/script/update", script));
    }

}

const scriptServie = new ScriptService()
export default scriptServie;